package com.lazycat.backend.controller.store;

import com.lazycat.backend.service.impl.store.DeleteStoreServiceImpl;
import com.lazycat.backend.service.store.DeleteStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class DeleteStoreController {
    @Autowired
    private DeleteStoreServiceImpl deleteStoreService;

    @PostMapping("store/delete/")
    public void delete(@RequestBody Map<String, Object> hashMap) {
        deleteStoreService.delete(hashMap);
    }
}
